package com.example.service.impl;

import com.example.mapper.AdminMapper;
import com.example.entity.po.Admin;
import com.example.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;


    @Override
    public Admin queryAdmin(String adminAccount) {
        Admin admin=adminMapper.queryAdmin(adminAccount);
        return admin;
    }
}
